home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
misc
/
ttflib
/
install-ttflib
< prev
next >
Wrap
Text File
|
1999-06-15
|
2KB
|
85 lines
; install ttflib package
(if (patmatch "(68000|68010|68020)" (database "cpu"))
(abort "A 68030 or above processor is required for this version" )
)
(set #lib-dest
(askdir
(prompt "Enter Drawer where ttf.library should be installed?")
(help @askdir-help)
(default "Libs:")
)
)
(set #tool-def (cat @default-dest "ttftools"))
(set #tool-dest
(askdir
(prompt "Enter Drawer where the ttflib tools should be installed? A new drawer will be created only if the drawer entered does not exist")
(help @askdir-help)
(default (cat @default-dest "ttftools"))
(newpath)
)
)
(set #help-dest
(askdir
(prompt "Enter Drawer where the documentation should be installed?")
(help @askdir-help)
(default #tool-dest)
(newpath)
)
)
(set #need-path (NOT(exists #tool-dest (noreq))))
(set @default-dest (#tool-dest))
(copylib
(prompt "Installing ttf.library")
(help @copylib-help)
(source "ttf.library")
(dest #lib-dest)
(confirm)
)
(copyfiles
(prompt "Copying truetype font installer")
(help @copyfiles-help)
(source "ttfmanager")
(dest #tool-dest)
(files)
(infos)
(confirm)
)
(copyfiles
(prompt "Copying optional utilites")
(help @copyfiles-help)
(source "")
(choices "ttfinstall" "ttflist" "ttfcp" "ftview")
(dest #tool-dest)
(files)
(confirm)
)
(copyfiles
(prompt "Copying ttflib.guide")
(help @copyfiles-help)
(source "ttflib.guide")
(dest #help-dest)
(files)
(infos)
(confirm)
)
;(if #need-path
; (startup "ttflib"
; (prompt "Add path to tools in \"S:user-startup\"")
; (help "This will add the ttflib tools to the system search path to make them more easily accessible.")
; (command "path " #tool-dest " add\n")
; )
;)